package com.ajx.blog.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 * @Author: 姜东浩
 * @Date: 2022-04-22 23:52:23
 * 
 * @Description: 用户-博客文章关联
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "article_coll_info")
public class ArticleCollInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(value = "userid")
    private Integer userid; // 用户id

    @TableField(value = "atricleid")
    private Integer atricleid; // 博客文章主键id

    @TableField(value = "createdate")
    private String createdate; // 创建时间 数据库timestamp类型,默认自动添加

}
